<?php
namespace app\admin\validate;

use think\Validate;

/**
 *  题目验证器
 * Class Link
 * @package app\admin\validate
 */
class Topic extends Validate
{
    protected $rule = [
        'content' => 'require',
        'consult' => 'require',
        'help' => 'require'
    ];

    protected $message = [
        'content.require' => '请输入内容',
        'consult.require' => '请输入参考',
        'help.require' => '请输入帮助'
    ];
    
}